package com.naiterui.ehp.bs.emr.vo.patient;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.utils.date.DateUtil;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 签名信息
 * @Author gongbaoqiang
 * @Date 2019/11/29 7:51 PM
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("签名信息")
@Validated
public class SignInfoVO implements Serializable {

    private static final long serialVersionUID = -2490839056102263619L;
    /**
     * 签名标识
     */
    @ApiModelProperty("签名标识：1/未签名， 2/已签名， 3/签名失败")
    private Integer signFlag;

    /**
     * 签名医生
     */
    @ApiModelProperty("签名医生")
    private String doctorName;

    @ApiModelProperty("签名医院")
    private String hospitalName;

    @ApiModelProperty("签名图片地址")
    private String sealImage;
    /**
     * 签名时间
     */
    @ApiModelProperty("签名时间")
    @JsonFormat(pattern = DateUtil.DATE_TIME_FORMAT)
    private Date signTime;

    @ApiModelProperty(value = "是否手写签章(0，否；1，是)")
    private Integer handWriting;
}
